Reducing Splaying by Taking Advantage of Working Sets
نویسندگان
چکیده
Access requests to keys stored into a data structure often exhibit locality of reference in practice. Such a regularity can be modeled, e.g., by working sets. In this paper we study to what extent can the existence of working sets be taken advantage of in splay trees. In order to reduce the number of costly splay operations we monitor for information on the current working set and its change. We introduce a simple algorithm which attempts to splay only when necessary. Under worst-case analysis the algorithm guarantees an amortized logarithmic bound. In empirical experiments it is 5% more efficient than randomized splay trees and at most 10% more efficient than the original splay tree. We also briefly analyze the usefulness of the commonly-used Zipf’s distribution as a general model of locality of reference.
منابع مشابه
Fuel Consumption Minimization in Greenhouses by Employing an Innovative System Taking Advantage of Solar and Geothermal Energies
Replacing fossil flues by renewable and sustainable energies have been the concern of scientists working in this area over the recent decades. Furthermore, greenhouses play a key role in producing various crops year-round and in bohemian climates. For this objective, the greenhouses employ heating, ventilating and air conditioning (HVAC) systems to provide the favourable conditions for the cons...
متن کاملWhen to use splay trees
In this paper we present new empirical results for splay trees. These results provide a better understanding of how cache performance affects query execution time. Our results show that splay trees can have faster lookup times compared with randomly built binary search trees (BST) under certain settings. In contrast, previous experiments have shown that because of the instruction overhead invol...
متن کاملWooden cottages role in the rural tourism by taking advantage of Gibz- Martin method (Case Study: Masal city, Gilan)
Rural tourism is considered as one of the important parts of the economic activities. This important economic activity in the different views has been taken into consideration. Some know it as a part of the tourism market and some consider it as a policy for rural development. Rural tourism quickly grew in the rural economic and has been the complementary of agricultural activities. The nature ...
متن کاملRehabilitation of an unloved child: semi-splaying
Splay trees are widely considered as the classic examples of self-adjusting binary search trees and are part of probably every course on data structures and algorithms. Already in the first seminal paper on splay trees [7] alternative operations were introduced, among which semi-splaying. On the one hand the analysis of semi-splaying gives a smaller constant for the amortized complexity, howeve...
متن کاملRobustified distance based fuzzy membership function for support vector machine classification
Fuzzification of support vector machine has been utilized to deal with outlier and noise problem. This importance is achieved, by the means of fuzzy membership function, which is generally built based on the distance of the points to the class centroid. The focus of this research is twofold. Firstly, by taking the advantage of robust statistics in the fuzzy SVM, more emphasis on reducing the im...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008